<?php
namespace app\home\controller;
use cmf\controller\UserBaseController;
use think\Db;
class StoreController extends UserBaseController
{
    function index(){
        $uinfo=cmf_get_current_user();
        $store=Db::name('store')->where(array('id'=>$uinfo['store_id']))->find(); 
        
        $this->assign("store", $store);
        return $this->fetch();
    }
}